@echo off
setlocal enableextensions enabledelayedexpansion
set /a "x = 0"

del out\*_basic*

:while1
    if %x% leq 10000 (

        ssatest_basic ssaout.txt 1 0 >> out/test_basic10.txt
		ssatest_basic ssaout.txt 2 0 >> out/test_basic20.txt
		ssatest_basic ssaout.txt 1 2 >> out/test_basic12.txt
		ssatest_basic ssaout.txt 2 1 >> out/test_basic21.txt
        
        set /a "x = x + 1"
		echo %x%
        goto :while1
    )
endlocal